package org.lx.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.lx.nursing.domain.Floor;
import org.lx.nursing.vo.FloorVo;
import org.lx.nursing.vo.RoomBedAndFloorVo;

import java.util.List;

public interface IFloorService extends IService<Floor> {
    Floor selectFloorById(Long id);

    int insertFloor(Floor floor);

    int updateFloor(Floor floor);

    int deleteFloorByIds(Long[] ids);

    int deleteFloorById(Long id);

    List<Floor> selectAllByNur();

    List<RoomBedAndFloorVo> getRoomAndBedByBedStatus(Integer status);

    List<FloorVo> getAllFloorsWithDevice();
}
